package com.neusoft.neu24.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.jackson.Jacksonized;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class GridDTO {
    //'网关编号
    private Integer id;
    //'网关名称'
    private String gname;
    //子网关
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<GridDTO> children;
}
